<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>12_案例练习-输入三个数,返回三个数中的最大值</title>
    </head>
    <body>
        <script>
            function f1(a,b,c){
                return a > b ? (a > c ? a : c) : (b > c ? b : c);

            }

            var a = f1(2,5,3);
            console.log(a);
        </script>
    </body>
</html>